#include "qu.h"
#include <iostream>

using namespace std;

int main() {
	queue<char> qc;
	queue<int> qi;
	queue<double> qd;
	qc.push('a');
	qc.push('b');
	qc.push('c');
	
	while( !qc.empty() )
		cout << qc.pop() << " ";
	cout << endl;

	qc.push('d');
	qc.push('c');
	qc.push('d');
	while( !qc.empty() )
		cout << qc.pop() << " ";
	cout << endl;

}